home *** CD-ROM | disk | FTP | other *** search
/ Aminet 33 / Aminet 33 - October 1999.iso / Aminet / dev / c / GAPLib.lha / GAPLib / gaplib / Makefile.x86 < prev    next >
Encoding:
Makefile  |  1999-07-04  |  525 b   |  33 lines

  1. #
  2. # GAP-Lib (C)1998-1999 Peter Bengtsson
  3. #
  4. # libgap.a Makefile, generic x86 version.
  5.  
  6. .PHONY : all
  7. .PHONY : clean
  8.  
  9. CC = gcc
  10.  
  11. # EGCS
  12. CODEGEN = -march=pentium -malign-functions=4 -malign-double
  13.  
  14. # Old GCC
  15. # CODEGEN = -m486 -malign-functions=4
  16.  
  17. OPTIMIZATION = -O2 -fstrength-reduce -fexpensive-optimizations \
  18.            -finline-functions
  19.  
  20. OPTIONS = -s -pedantic -Wall -I../include/
  21.  
  22. DEFINES = -DFPU
  23.  
  24. CFLAGS = $(CODEGEN) $(OPTIMIZATION) $(OPTIONS) $(DEFINES)
  25.  
  26. AR = ar
  27.  
  28. AROPTS = -rcsv
  29.  
  30. LIBRARY = ../lib/libgap.a
  31.  
  32. include Common.mk
  33.